package com.example.robertluozizhao.framecollectdemo.fragment;

import android.os.Bundle;
import androidx.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.robertluozizhao.framecollectdemo.R;

import butterknife.ButterKnife;
import butterknife.Unbinder;

/**
 * @author luo_zi_zhao
 * @version V1.0 当前版本描述信息
 * @FileName com.example.robertluozizhao.framecollectdemo.fragment
 * @date 2019/4/25 17:23
 */

public class FragmetManager_WritePadView01 extends BaseFragment  {

    private Unbinder mBind;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_manager_text01, null);
        mBind = ButterKnife.bind(this, view);
        initView();
        return view;
    }

    private void initView() {
        FragmetManager_WritePadView01_01 fragmetManagerWritePadView01_01 = new FragmetManager_WritePadView01_01();
        showFragment(fragmetManagerWritePadView01_01);
    }


    @Override
    public int getFragmentGroupId() {
        return R.id.fl_fragment_group;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        mBind.unbind();
    }
}
